package com.java.bean;

import java.util.Date;

/**
 * @Author: wjr
 * @Description: Student实体类 对应数据库中名为student的表中的属性
 * @Date Created in  2020-09-04 15:48
 * @Modified By:
 */
public class Student {
    private int studentId;
    private String studentNo;
    private String stuName;
    private int StuAge;
    private int gradeId;

    public Student() {
    }

    public Student(int studentId, String studentNo, String stuName, int studentAge, int gradeId) {
        this.studentId = studentId;
        this.studentNo = studentNo;
        this.stuName = stuName;
        this.StuAge = studentAge;
        this.gradeId = gradeId;
    }

    public Student(String studentNo, String stuName, int stuAge, int gradeId) {
        this.studentNo = studentNo;
        this.stuName = stuName;
        StuAge = stuAge;
        this.gradeId = gradeId;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentId=" + studentId +
                ", studentNo='" + studentNo + '\'' +
                ", stuName='" + stuName + '\'' +
                ", studentAge=" + StuAge +
                ", gradeId=" + gradeId +
                '}';
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(String studentNo) {
        this.studentNo = studentNo;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public int getStuAge() {
        return StuAge;
    }

    public void setStuAge(int stuAge) {
        StuAge = stuAge;
    }

    public int getGradeId() {
        return gradeId;
    }

    public void setGradeId(int gradeId) {
        this.gradeId = gradeId;
    }
}
